package com.icetec.iceintel.model;

import java.util.ArrayList;

/**
 * Created by amo on 2014/12/20.
 * 单一模式策略模板
 */
public class Scheme {

    Integer id;         //模式在数据内的标识符
    String name;         //模式的名字
    String type;         //模式类型
    ArrayList<Device> deviceArrayList;  //此模式涵盖的设备

    final  public static  String SchemeTypeWORK="work";
    final  public static  String SchemeTypeSLEEP="sleep";
    final  public static  String SchemeTypeRELAX="relax";
    final  public static  String SchemeTypeDIET="diet";
    final  public static  String SchemeTypeMOVIE="movie";
    final public static  String SchemeTypeREAD="read";
    final public static String SchemeTypeDEFAULT="defalut";

    final public static  String SchemeTypeAll="all";

    public Scheme(){

        deviceArrayList=new ArrayList<Device>();
        id=0;

    }


    public void setId(Integer id) {
        this.id = id;
    }

    public void setDeviceArrayList(ArrayList<Device> deviceArrayList) {
        this.deviceArrayList = deviceArrayList;
    }

    public void setName(String name) {
        this.name = name;
    }



    public void setType(String type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public ArrayList<Device> getDeviceArrayList() {
        return deviceArrayList;
    }

    public String getName() {
        return name;
    }

    public String getType() {
        return type;
    }
}
